select NAME, rank, count, surname_entries.id 'wiki_id' from surnames left join surname_entries on surname_entries.surname = surnames.name and surname_entries.entry_type = 1 where index2 = 'YM' order by rank asc limit 0,100 Surnames > Y > YM > %22

Surnames > Y > YM > %22

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
YA YB YC YD YE YG YH YI YL YM YN YO YP YR YS YT YU YV YZ
YMK

Full Surname List Starting with %22(Alphabetical)